//
//  RankCell.m
//  timelyRain
//
//  Created by Jiafei Wei on 16/9/5.
//  Copyright © 2016年 Jiafei Wei. All rights reserved.
//

#import "RankCell.h"

@implementation RankCell

- (void)awakeFromNib {
    [super awakeFromNib];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

}

//创建自定义可重用的cell对象
+ (instancetype)setRunCellWithTableView:(UITableView *)tableView
{
    static NSString *reuseId = @"RankCell";
    RankCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseId];
    if (cell == nil){
        cell = [[[NSBundle mainBundle] loadNibNamed:@"RankCell" owner:nil options:nil] lastObject];
    }
    return cell;
}

-(void)setInfo:(WalkRank *)info{
    _info =info;
    //设置值
}
@end
